import {DynamicComponentOptions} from '../dynamic-component/dynamic-component.interface';

export interface ModalOptions {
  id?: string;
  title: string;
  cssIcon?: string;
  size?: string;
  theme?: string;
  closeBtn?: boolean;
  confirmBtn?: boolean;
  dynamicComponent?: DynamicComponentOptions;
  data?: any;
}

export interface ConfirmModalOptions extends ModalOptions {
  closeBtn: true;
  confirmBtn: true;
}


export interface AlertModalOptions extends ModalOptions {
  closeBtn: true;
  confirmBtn?: false;
}
